import { ElectrumServerAddress } from '../../models/electrumModel';

export const ELECTRUM_SERVERS: ElectrumServerAddress[] = [
  // Testnet
  [true, 'testnet.aranguren.org', 51001, 'tcp'],
  [true, 'electrum1.cipig.net', 10068, 'tcp'],
  [true, 'electrum2.cipig.net', 10068, 'tcp'],
  [true, 'electrum3.cipig.net', 10068, 'tcp'],

  // Mainnet
  [false, 'blackie.c3-soft.com', 57002, 'tcp_tls'],
  [false, 'bitcoin.aranguren.org', 50001, 'tcp'],
  [false, 'de.poiuty.com', 50002, 'tcp_tls'],
  [false, 'rkfg.me', 50002, 'tcp_tls'],
  [false, 'btc.electroncash.dk', 60002, 'tcp_tls'],
  [false, 'electrum.jochen-hoenicke.de', 50099, 'tcp'],
  [false, 'electrum.acinq.co', 50002, 'tcp_tls'],
  [false, 'electrum.bitaroo.net', 50002, 'tcp_tls'],
  [false, 'node1.btccuracao.com', 50002, 'tcp_tls'],
  [false, 'fulcrum.grey.pw', 51002, 'tcp_tls'],
  [false, 'assuredly.not.fyi', 50002, 'tcp_tls'],
  [false, 'fortress.qtornado.com', 443, 'tcp_tls'],
  [false, '2electrumx.hopto.me', 56022, 'tcp_tls'],
  [false, '157.245.172.236', 50002, 'tcp_tls'],
  [false, '2AZZARITA.hopto.org', 50002, 'tcp_tls'],
  [false, '2ex.digitaleveryware.com', 50002, 'tcp_tls'],
  [false, '73.92.198.54', 50002, 'tcp_tls'],
  [false, 'E-X.not.fyi', 50002, 'tcp_tls'],
  [false, 'VPS.hsmiths.com', 50002, 'tcp_tls'],
  [false, 'alviss.coinjoined.com', 50002, 'tcp_tls'],
  [false, 'bitcoins.sk', 56002, 'tcp_tls'],
  [false, 'blkhub.net', 50002, 'tcp_tls'],
  [false, 'ca.poiuty.com', 50002, 'tcp_tls'],
  [false, 'e.keff.org', 50002, 'tcp_tls'],
  [false, 'eai.coincited.net', 50002, 'tcp_tls'],
  [false, 'ecdsa.net', 110, 'tcp_tls'],
  [false, 'electrum.emzy.de', 50002, 'tcp_tls'],
  [false, 'electrum.hodlister.co', 50002, 'tcp_tls'],
  [false, 'electrum.hsmiths.com', 50002, 'tcp_tls'],
  [false, 'electrum.qtornado.com', 50002, 'tcp_tls'],
  [false, 'electrum3.hodlister.co', 50002, 'tcp_tls'],
  [false, 'electrum5.hodlister.co', 50002, 'tcp_tls'],
  [false, 'electrumx.erbium.eu', 50002, 'tcp_tls'],
  [false, 'elx.bitske.com', 50002, 'tcp_tls'],
  [false, 'ex.btcmp.com', 50002, 'tcp_tls'],
  [false, 'hodlers.beer', 50002, 'tcp_tls'],
  [false, 'node.degga.net', 50002, 'tcp_tls'],
  [false, 'smmalis37.ddns.net', 50002, 'tcp_tls'],
  [false, 'tardis.bauerj.eu', 50002, 'tcp_tls'],
  [false, 'vmd71287.contaboserver.net', 50002, 'tcp_tls'],
  [false, 'xtrum.com', 50002, 'tcp_tls'],
  [false, '104.248.139.211', 50001, 'tcp'],
  [false, '142.93.6.38', 50001, 'tcp'],
  [false, '157.245.172.236', 50001, 'tcp'],
  [false, '167.172.42.31', 50001, 'tcp'],
  [false, '2AZZARITA.hopto.org', 50001, 'tcp'],
  [false, '2electrumx.hopto.me', 56021, 'tcp'],
  [false, 'alviss.coinjoined.com', 50001, 'tcp'],
  [false, 'bitcoin.aranguren.org', 50001, 'tcp'],
  [false, 'bitcoins.sk', 56001, 'tcp'],
  [false, 'blackie.c3-soft.com', 57001, 'tcp'],
  [false, 'btc.electroncash.dk', 60001, 'tcp'],
  [false, 'e.keff.org', 50001, 'tcp'],
  [false, 'eai.coincited.net', 50001, 'tcp'],
  [false, 'electrum.bitaroo.net', 50001, 'tcp'],
  [false, 'electrum.jochen-hoenicke.de', 50099, 'tcp'],
  [false, 'electrumx.erbium.eu', 50001, 'tcp'],
  [false, 'elx.bitske.com', 50001, 'tcp'],
  [false, 'fulcrum.grey.pw', 51001, 'tcp'],
  [false, 'node1.btccuracao.com', 50001, 'tcp'],
  [false, 'xtrum.com', 50001, 'tcp'],
];

export const ELECTRUM_PROBE_TRANSACTIONS = {
  testnet: {
    txid: 'e0f41ddd7fe5570f0d9473cb7a646dbdc0c7d60ff5f2bbaedd7f75e950e430d7',
    hash: '573b5c5c50e6611272ce877827dbaa318c9288cd2fec86a5202ccc5b8b91556d',
  },
  mainnet: {
    txid: '8c66f992f91f025add847e861f04f5b33b607f1c104d7bf2edea5f8826b6d4bb',
    hash: 'b71af580ec66c05d2ddca43bfc38aa6dce8422d6bdb5e4ba01b7ea459c7ad94d',
  },
};
